const brance_all = require('../brance_all/brance_all')

const greatwall = {
  markers:[
    {
      //左权黄泽关
      id: 30,
      latitude: 36.88134696690819, longitude: 113.77992422489092,
      iconPath:brance_all.iconPath,
      anchor:brance_all.anchor,
      width:brance_all.width,
      height:brance_all.height,
      customCallout:{
        anchorY: 15,
        anchorX: 50,
        display: 'ALWAYS'
      }
    },
    {
      //和顺支锅石关堡
      id: 31,
      latitude: 37.204317235529615, longitude: 113.83257894841813,
      iconPath:brance_all.iconPath,
      anchor:brance_all.anchor,
      width:brance_all.width,
      height:brance_all.height,
      customCallout:{
        anchorY: 15,
        anchorX: 60,
        display: 'ALWAYS'
      }
    },
    {
      //昔阳白皮关
      id: 32,
      latitude: 37.63725039992894, longitude: 113.99747281841042,
      iconPath:brance_all.iconPath,
      anchor:brance_all.anchor,
      width:brance_all.width,
      height:brance_all.height,
      customCallout:{
        anchorY: 20,
        anchorX: 50,
        display: 'ALWAYS'
      }
    },
  ],
  customCalloutMarkerIds:[
    {
    id:30,
    name:'左权黄泽关'
  },{
    id:31,
    name:'和顺支锅石关堡'
  },{
    id:32,
    name:'昔阳白皮关'
  }],
  polyline:[{
    points:[
      //左权黄泽关
      {latitude: 36.88134696690819, longitude: 113.77992422489092},
      {latitude: 36.881745454882825, longitude: 113.77698943036307},
      {latitude: 36.88991857134708, longitude: 113.76747563253411},
      {latitude: 36.8907640150679, longitude: 113.76148546363015},
      {latitude: 36.895484241837295, longitude: 113.75937128573742},
      {latitude: 36.895554689536645, longitude: 113.75514292457433},
      {latitude: 36.90175394262931, longitude: 113.75373347354207},
      {latitude: 36.907389189116216, longitude: 113.75020984999423},
      {latitude: 36.91274228813708, longitude: 113.73999131992741},
      {latitude: 36.91133361388585, longitude: 113.73400115035133},
      {latitude: 36.91302401911309, longitude: 113.72765861818527},
      {latitude: 36.91865843461145, longitude: 113.72589680334454},
      {latitude: 36.92316566428835, longitude: 113.71285937478399},
      {latitude: 36.9285176561764, longitude: 113.7107451982356},
      {latitude: 36.933024305184134, longitude: 113.70299320949175},
      {latitude: 36.945064790691326, longitude: 113.69894030243051},
      {latitude: 36.95520217410784, longitude: 113.70704465225208},
      {latitude: 36.96393050331103, longitude: 113.70845410193999},
      {latitude: 36.96871658725329, longitude: 113.7081017398541},
      {latitude: 36.976640106585286, longitude: 113.71905686117691},
      {latitude: 36.98848959851965, longitude: 113.72276529970941},
      {latitude: 36.990464333471046, longitude: 113.73265448956681},
      {latitude: 37.02007921817432, longitude: 113.73574485579661},
      {latitude: 37.068411955046386, longitude: 113.75297622878907},
      {latitude: 37.13020616382638, longitude: 113.78802492717614},

      //和顺支锅石关堡
      {latitude: 37.204317235529615, longitude: 113.83257894841813},
      {latitude: 37.237030700119256, longitude: 113.91462563860819},
      {latitude: 37.300681682203525, longitude: 113.94862816793784},
      {latitude: 37.34286008140615, longitude: 113.99698658431691},
      {latitude: 37.35566708836294, longitude: 113.99427949272035},
      {latitude: 37.406358172563884, longitude: 113.96885143298937},
      {latitude: 37.45887411008929, longitude: 113.99294117351872},
      {latitude: 37.49189212348123, longitude: 113.97554303750974},
      {latitude: 37.50321793054374, longitude: 113.96617480309601},
      {latitude: 37.5258643923397, longitude: 113.96662090836207},
      {latitude: 37.55708046955568, longitude: 113.95056108644906},
      {latitude: 37.564860345185714, longitude: 113.95903710862876},
      {latitude: 37.58138988117857, longitude: 113.95814489469285},


      //左权黄泽关
      {latitude: 37.63725039992894, longitude: 113.99747281841042}
  ],
  color: brance_all.color[4],
  width: brance_all.polyline_width,
  dottedLine: false,
  arrowLine:true,
  borderWidth: brance_all.polyline_borwidth,
  borderColor: brance_all.color[4]
  }],
  moveable_markers:[{
    id: 100,
    latitude: 36.88134696690819, longitude: 113.77992422489092,
    iconPath: brance_all.moveable_markers[4],
    width:45,
    height:45
  }, {
    id: 100,
    latitude: 37.204317235529615, longitude: 113.83257894841813,
    iconPath: brance_all.moveable_markers[4],
    width:45,
    height:45,
  }, {
    id: 100,
    latitude: 37.63725039992894, longitude: 113.99747281841042,
    iconPath: brance_all.moveable_markers[4],
    width:45,
    height:45,
  }]
}

module.exports = {
  greatwall
}